package cn.vcjf.washcar.carbrand.entity;

import cn.vcjf.washcar.common.web.PageModel;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 汽车品牌表
 * </p>
 *
 * @author zhengzihang
 * @since 2018-07-18
 */
@TableName("car_brand")
public class CarBrand extends PageModel {

	private static final long serialVersionUID = 1L;

	/**
	 * 汽车品牌表
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 汽车品牌
	 */
	private String prefix;

	/**
	 * 汽车品牌
	 */
	private String carBrand;

	/**
	 * 品牌图标
	 */
	private String logo;

	/**
	 * 汽车类型
	 */
	private Integer level;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCarBrand() {
		return carBrand;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	public String getPrefix() {
		return prefix;
	}

	public void setCarBrand(String carBrand) {
		this.carBrand = carBrand;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	@Override
	public void preInsert() {
		super.preInsert();
	}

	@Override
	public void preUpdate() {
		super.preUpdate();
	}

	@Override
	public String toString() {
		return "CarBrand{" +
				"id=" + id +
				", carBrand=" + carBrand +
				", logo=" + logo +
				", level=" + level +
				", createUser=" + createUser +
				", createTime=" + createTime +
				", updateUser=" + updateUser +
				", updateTime=" + updateTime +
				", deleteFlag=" + deleteFlag +
				"}";
	}
}
